package com.kikcn.mvc;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by Yubin Lai on 2017/8/30.
 */
@Controller
public class PageController {
    @RequestMapping("/page1")
    public String page1(){
        return "page1";
    }
    @RequestMapping("/page2")
    public String page2(){
        return "page2";
    }
    @RequestMapping("/page3")
    public String page3(){
        return "page3";
    }
}
